Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trending tokens / network switcher cleanup #6372

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

christianbaroni
Copy link
Member

What changed (plus any additional context for devs)

  • Cleans up the trending tokens and network switcher UIs
  • Fixes an Android text wrapping bug caused by alignItems: 'baseline' in trending tokens coin rows
  • Simplifies the trending tokens loading skeleton
  • Fixes an issue causing the last selected network to be forgotten in the network switcher
  • Fixes x/y positioning of dragged networks in the network switcher
  • Improves network switcher animations and corrects sheet sizing
  • Adds haptics to the network switcher
  • Minor code cleanup

Screen recordings / screenshots

What to test

@brunobar79
Copy link
Member

Launch in simulator or device for 5bbbeec

Copy link
Contributor

@walmat walmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👨🏼‍🍳

const chainId = useTrendingTokensStore(state => state.chainId);
const selected = useSharedValue<ChainId | undefined>(chainId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice good catch

Copy link
Member

@derHowie derHowie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

here's a video of me trying to break networks and sorting: https://www.loom.com/share/7019d35bd0914b57893163a828713ed1 (i didn't)

@derHowie derHowie force-pushed the @christian/trending-tokens-fixes branch from 9ccc6aa to 8416020 Compare December 23, 2024 17:13
@BrodyHughes BrodyHughes added the release for release blockers and release candidate branches label Dec 23, 2024
@brunobar79
Copy link
Member

Launch in simulator or device for e81b929

@christianbaroni christianbaroni merged commit 5e92d8e into develop Dec 23, 2024
8 checks passed
@christianbaroni christianbaroni deleted the @christian/trending-tokens-fixes branch December 23, 2024 18:16
BrodyHughes pushed a commit that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release for release blockers and release candidate branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants